.home {
  display: flex;
  flex-direction: column;
}
.home .main {
  flex: 1;
  overflow-y: scroll;
  overflow-x: hidden;
}
.home .main .swiper {
  width: 100%;
  height: 200px;
  position: relative;
}
.home .main .swiper .swiper-wrapper .bg1 {
  background: url(../../assets/imgs/1.webp) no-repeat center / cover;
}
.home .main .swiper .swiper-wrapper .bg2 {
  background: url(../../assets/imgs/2.webp) no-repeat center / cover;
}
.home .main .swiper .swiper-wrapper .bg3 {
  background: url(../../assets/imgs/3.webp) no-repeat center / cover;
}
.home .main .swiper .swiper-pagination {
  position: absolute;
  top: 170px;
}
.home .main .content-box {
  width: 90%;
  height: 150px;
  margin: 20px auto;
  display: flex;
}
.home .main .content-box .ranking {
  flex: 2;
  background: url(../../assets/imgs/index-card-rank.png) no-repeat left bottom;
  background-position-y: 40px;
  background-size: 100px;
  background-color: #1592cc;
  margin-right: 20px;
  border-radius: 15px;
  position: relative;
}
.home .main .content-box .ranking h3 {
  margin-left: 14px;
  margin-top: 14px;
  color: #004e73;
  font-size: 20px;
}
.home .main .content-box .ranking #rankbox {
  color: #ffffff;
  font-size: 80px;
  position: absolute;
  right: 10px;
  bottom: 20px;
}
.home .main .content-box .clock {
  flex: 3;
  border-radius: 15px;
  background: url(../../assets/imgs/index-card-sum.png) no-repeat left bottom;
  background-position-x: 10px;
  background-position-y: 30px;
  background-color: #7bcbf5;
  background-size: 110px;
  position: relative;
}
.home .main .content-box .clock h3 {
  margin-left: 14px;
  margin-top: 14px;
  color: #005177;
  font-size: 20px;
}
.home .main .content-box .clock #clockBtn {
  width: 100px;
  height: 40px;
  line-height: 23px;
  border-radius: 20px;
  background-color: #aad9f7;
  color: #004e73;
  font-size: 16px;
  text-align: center;
  border: 3px solid #005177;
  position: absolute;
  right: 10px;
  bottom: 20px;
}
.home .main .content-box1 {
  width: 90%;
  height: 110px;
  margin: 20px auto;
  display: flex;
}
.home .main .content-box1 .sportData {
  flex: 1;
  background-color: #ccc;
  border-radius: 15px;
  margin-right: 20px;
  background: url(../../assets/imgs/index-card-data.png) no-repeat center / cover;
}
.home .main .content-box1 .sportData h3 {
  margin-left: 14px;
  margin-top: 12px;
  color: #ffffff;
  font-size: 16px;
}
.home .main .content-box1 .badgesBox {
  flex: 1;
  border-radius: 15px;
  background: url(../../assets/imgs/index-card-badge.png) no-repeat left bottom;
  background-color: hotpink;
  background-position-y: 20px;
  background-size: 100px;
  position: relative;
}
.home .main .content-box1 .badgesBox h3 {
  margin-left: 14px;
  margin-top: 12px;
  color: #005177;
  font-size: 16px;
}
.home .main .content-box1 .badgesBox #badgesNum {
  color: #004e73;
  font-size: 80px;
  position: absolute;
  right: 10px;
  bottom: 20px;
}
.home .main .content-box1 .badgesBox #badgesNum em {
  font-style: normal;
  font-size: 12px;
}
.home .main .course {
  background-color: #ccc;
  border-radius: 15px;
  padding-left: 14px;
  padding-top: 14px;
  color: #ffffff;
  font-size: 16px;
  background: url(../../assets/imgs/course-img04.jpg) no-repeat center / cover;
}
.home .main .runBox {
  background-color: #ccc;
  border-radius: 15px;
  padding-left: 14px;
  padding-top: 14px;
  color: #ffffff;
  font-size: 16px;
  background: url(../../assets/imgs/index-card-run.png) no-repeat center / cover;
}
.home .nav {
  height: 76px;
}
.home .nav a {
  flex: 1;
  display: flex;
  color: #8a8a8a;
  font-size: 14px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.home .nav a:first-child {
  color: #4294ff;
}
.home .nav a span {
  font-size: 40px;
}
